{block head}

<!-- markItUp! -->
<script type="text/javascript" src="/CMS/js/markitup/jquery.markitup.js"></script>
<!-- markItUp! toolbar settings -->
<script type="text/javascript" src="/CMS/js/markitup/sets/textile/set.js"></script>
<!-- markItUp! skin -->
<link rel="stylesheet" type="text/css" href="/CMS/js/markitup/skins/markitup/style.css" />
<!--  markItUp! toolbar skin -->
<link rel="stylesheet" type="text/css" href="/CMS/js/markitup/sets/textile/style.css" />

<script type="text/javascript" n:syntax="double">
    $(document).ready(function() {	
        $('.mark-it-up').markItUp(mySettings);
    });
        
    function showDescription(id) {
        var link = $("#logDescriptionLink" + id);
        var desc = $("#logDescription" + id);
        
        link.attr("onclick", "hideDescription(" + id + ")")
        desc.css("display", "block");
        link.html("{{dictionary user_logHideDescription}}" + " <<");
    }
    
    function hideDescription(id) {
        var link = $("#logDescriptionLink" + id);
        var desc = $("#logDescription" + id);
        
        link.attr("onclick", "showDescription(" + id + ")")
        desc.css("display", "none");
        link.html("{{dictionary user_logShowDescription}}" + " >>");
    }
</script>
{/block}

{block #content}
{control pageForm}

<h2>{dictionary user_logH2}</h2>
{control logComp}
{/block}